updated layout and added multiplication and division functions