Some handy tools