add validation for load methods