Adjusted Bio object to encapsulate function