remove unused 'compose' function