add interface for refinery