Created header for common functions