ferge showed them to a long table against the wall and the primitives spent nearly fifteen minutes trying to figure out how to stack their rifles against the wall before realizing that there were pegs and shelves designed for just such a purpose .