removed sleep delay