better and simplified api usage