code refactor and added likes to overlay