non-frames version goes here