Added awesome function and fixed snippets