refactored return type of First and Single to dynamic