Fixed temp decls
Fixed assignment typececking