Thanks @fgregg it worked. One extra statement !!