uups... forgott " ; then" after "if" ;)