adding singly linked and fixed rubocop stuffs