Added import function, fixed getter