changed .onAttach to .onLoad