Added bias support