add the code on schedule. Does not really work