code for the order of static