adding post on opened