Added functions for options