adding macros, improving the custom perform selector category