improved simple goaltype with embedding and tested loops