types still not working