start to add staging functionality