fixed default constructor to public