added base Maybe code