eh it finally works and i learned a fuck load about saving