Trying my own lib