move WIDTH & HEIGHT to extern variables.