updated previous return type