seperated some basics into utils