started to minimal optimize for linux