set prototype with object literal