coding problem solved.