formating and global scope optimization