Solved more problems. Started using structs.