most of the logic solved, css remains