Testing out onPart method.