Adds little methods for validating response
Simplefied previous commit