removing unneeded type declaration