cleaned up the var dec