Functions for ALU added