adding subPost functionality