Trying to make this crap function...