prototype usage and OOP constructor call have been fixed