syntax on ends seems wierd