updated with title working properly