Controller sameple code added