first version of shell API calls