Removed 'minimized' flag
Code formatted