added seperate functions for each waco interface