Thanks for your comment and yeah i was given a solution to both problem in this jam actually but after submission.