updated for new instructions