Slide detector class first version