added some object literal and constructor function stuff - still not done