added placing function