os detect, events