not working, typerror still