Pos based on Java