s
d
merged linux and win versions