changed timing constant
added MacOS stuff