adding inspect to resource