Local variables working