added functioning getAllVaribles impl