Smart corner kick routine