now recording works as well