created PreInToPost class