Abit nicer code nothing special