functionality working with physicsBodies