Do some checks