moved delay class impl to inline functions