First functioning version of the online program part