changed constructor to name of class