Abstract first two anon functions