cleaned up erb