Added some checks to canRecord