worked on moving views over to rails