add support for record expirations
prepare to test