added locals handling from the vinyl object