added overlay function