Append 'a' or 'p'

part 2