Implement loopdecorator and rnd coords + some renaming