added post create logic