A note on Baker's algorithm