tutorials script is WAY off but it works