Validate poits, add key generator