i like the start of this but the ending is a nightmare, hopefully ill come back and optimize it later