using proper variable