changed method to get