update on red, remove uncessay code in blue