change return value to number of templates read
add stands reading code
implement del_stand