[#17] Setup function implemented