added unix stuff