peek, isempty, makeempty function enabled