working on creating instance problem