changed return value of poep.c