Adds some checks