change declaration order