removed redundant dep on isExpired