removed 'apple' spec from overlay() function