adding some cool block functions.