Optimized Code
Removed Useless Frame