I need some performance in my code. please can somebody tell me what i can improve in my solution?