new way of passing phases