made scoped variable object