basic api functionality for Record model works