Library with funtion print for debugging