hopefully fixed constructor 

maybe, not in eclipse to view errors