created pascal with Maybe