Wrote all the functions/ build bug