added proportion solving