Creating a hybrid program