now it doesnt matter how many frames an environment-thingy has.