trying to get record to work