table question implemented. fix marking bugs