some changes added overlay