first draft using only variables