overlay function seems to work. just wrong size