added formLayout property
updated method signature