creating overlay structure