tried changing logic flow in accounts index