Everything almost work. Added indexes.