Change the way layer is created
Change variable name