added constructor to fix junit issues