added expiration time, rake task