Custom functions added