reduced number of objct[]

from 500 to 50.
I still dont like having this as a constant