added post class for in model