Working on an experimental version of apply