Handling on tyhe fly config in regards to phase change. Could be tested more