changed default to proper variable type