added default info function
minor improvments