Comments

Added description of function's behaviour in header file