Append 'a' or 'p'

Work in progress