new version of CustomPrefix (WIP)

lots of changes