reduce usage of session