adding joyent profiles function