adjusted some styling and worker syntax