Complete working submission