Created build() function, now it's time to actually implement it