adding a variables endpoint