sorted out some code made online players better