ENH: updated to take instructions