added return types to methods