lintified a bit and implemented part-search (it's called simple but has to be renamed later)