trying fixed problem with variables