started to add apier methods