trial and error codes executed,complete code coming up