now with less variables