Add some javaDoc, add virable sleep interval