record now working as well