a simple beta Java