removed inner class originaly made for debug

fixed documentation