add new prototypes
correct used prototypes