simulation of Vienna trap