created API initial methods