My version of optimization :)