Fixed alot of stuff yes this is my own code