this is linux specific piece of code