Adjusted for linux