renamed :phase to :layer