added metoos api & tests