fixed the bug. Gonna implement enemies now.