add this to return external class and new for inner class object creation