changed the constructor to match class name