adds possibility to use parameters. remove worldlistener.