ported master to stage