added get all and get methods