Added simple logic for programmer