He has been a Member of Parliament since 1983 . At the beginning for Dunfermline East and since 2005 for Kirkcaldy and Cowdenbeath . He has been a Member of Parliament since 1983 ; first for Dunfermline East and since 2005 for Kirkcaldy and Cowdenbeath .