breaking out extended routines