removed sign and powerfunction, added header file