Added custom functions for coding